<template>
    <div class="main-page">
        <el-form :model="childForm" label-width="70px" ref="addstuform"
                 size="mini">
            <el-row>
                <el-col>原课程</el-col>
            </el-row>
            <el-row type="flex" justify="center">
                <el-col>课程名称</el-col>
                <el-col>钢琴课</el-col>
            </el-row>
            <el-row>
                <el-col>课程金额</el-col>
                <el-col>￥5000</el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                    <el-form-item prop="username" label="课时数">
                        <el-col :span="6">
                            <el-input class="search-input" label="课时数" v-model="formData.username"
                                      placeholder="必填"></el-input>
                        </el-col>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                    <el-form-item prop="username" label="课程金额">
                        <el-col :span="6">
                            <el-input class="search-input" label="课时数" v-model="formData.username"
                                      placeholder="必填"></el-input>
                        </el-col>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col>现转至</el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                    <el-form-item label="课程名称">
                        <el-select size="mini" class="search-input" v-model="formData.schoolid"
                                   placeholder="请选择课程名称">
                            <el-option value="" label="全部"></el-option>

                        </el-select>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                    <el-form-item prop="username" label="课时数">
                        <el-col :span="6">
                            <el-input class="search-input" label="课时数" v-model="formData.username"
                                      placeholder="必填"></el-input>
                        </el-col>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="8">
                    <el-form-item prop="username" label="课程金额">
                        <el-col :span="6">
                            <el-input class="search-input" label="课时数" v-model="formData.username"
                                      placeholder="必填"></el-input>
                        </el-col>
                    </el-form-item>
                </el-col>
            </el-row>

        </el-form>
    </div>
</template>

<script>
    import {mapActions, mapState, mapGetters} from 'vuex'
    import headTop from '../../components/headTop'
    import {userList} from '@/api/getData'
    import ElInput from "../../../node_modules/element-ui/packages/input/src/input.vue";
    import ElOption from "../../../node_modules/element-ui/packages/select/src/option.vue";

    export default {
        name: 'addSubject',
        props: {},
        data() {
            return {
                childForm: {}
            }
        },
        components: {
            ElOption,
            ElInput,
            headTop,

        },
        computed: {
            ...mapGetters(['adminInfo'])
        },
        created() {
        },
        mounted() {

        },
        methods: {
            ...mapActions(['getPeriod']),
        },
    }
</script>
<style lang="less">
    @import '../../style/mixin';

    .el-table .sks {
        background: #c2e7b0;
    }
</style>
